package oop4.test;

import oop4.Dog;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetTest5 {
    public static void main(String[] args) {
        Dog d=new Dog("哈士奇");
        //d.name="大黄";protected只能在子类或者同包中访问
    }
}
